package com.easy.dfcapi.service;

import com.easy.common.bean.Result;
import com.easy.dfcapi.entity.ImgReq;
import com.easy.dfcapi.entity.VideoReq;
import com.easy.dfcapi.res.Response;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.List;

/**
 * Created by VULCANTSeries on 2017/5/10.
 */
public interface ApiUploadService {

    Result UploadImg(Response<ImgReq> response, HttpServletRequest request) throws Exception;

    List<ImgReq> UploadImg(HttpServletRequest request) throws Exception;

    Result UploadVideo(Response<VideoReq> response, HttpServletRequest request) throws Exception;

    List<VideoReq> UploadVideo(HttpServletRequest request) throws Exception;
}
